package com.lkz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Customer extends BaseEntity {
    @TableId(value = "customer_id", type = IdType.AUTO)
    private Integer customerId;
    private String customerName;
    private String sex;
    private String telphone;
    private String company;
    private String address;
    private Integer empId;
    private Integer isOrders;
    @TableField(exist = false)
    private List<Employee> employees;
}
